package com.xueqiu.movieplaymanagersystem.constant;

import lombok.Getter;

/**
 * @author xueqiu
 */
@Getter
public class configConstant {
    public static final String TOTAL_ATTRIBUTE_NAME = "total";
    public static final String REQUEST_USERNAME = "username";
    public static final String REQUEST_PASSWORD = "password";
    public static final String REQUEST_CAPTCHA = "code";
    public static final String REQUEST_MSG = "msg";
    public static final String RESPONSE_MSG_ERROR_1 = "非法的请求方式";
    public static final String RESPONSE_MSG_ERROR_2 = "非法的参数访问";
    public static final String RESPONSE_MSG_ERROR_3 = "没有权限访问，请先登录";
    public static final String ATTRIBUTE_USER = "user";
    /**
     * DEFAULT_INITIAL_CAPACITY值为2的n次方；
     * 考虑到敏感词文件大概在10k左右，DEFAULT_INITIAL_CAPACITY这个值应为敏感词词数的数倍，
     * 使得桶很稀疏，提高不命中时hash指向null的概率，从而加快访问速度。
     * 2^17
     * 0000 0000 0000 0010 0000 0000 0000 0000
     */
    public static final int DEFAULT_INITIAL_CAPACITY = 131072;
}
